package com.suredy.core.mvc.model;

import java.util.ArrayList;

@SuppressWarnings("serial")
public class SenderUnit extends Tree {

	private String nodeType;
	private String id;

	public SenderUnit(String id, String text) {
		this.setId(id);
		this.setText(text);
		this.setNodeType("unit");
		this.setCollapse(false);
		this.setChildren(new ArrayList<Tree>());
	}
	
	public String getId() {
		return id;
	}


	
	public void setId(String id) {
		this.id = id;
	}


	public String getNodeType() {
		return nodeType;
	}

	
	public void setNodeType(String nodeType) {
		this.nodeType = nodeType;
	}
	
}
